package com.bugull.farm.core.store;

import java.util.Date;

import com.bugull.mongo.SimpleEntity;
import com.bugull.mongo.annotations.Entity;

@Entity
public class DataReport extends SimpleEntity{
	
	private String macAddress;
	private String productType;//产品型号
	private int pm;//pm2.5数值
	private int temperature;//温度
	private int humidity;//湿度
	private Date reportTime;
	
	public String getMacAddress() {
		return macAddress;
	}
	public void setMacAddress(String macAddress) {
		this.macAddress = macAddress;
	}
	public String getProductType() {
		return productType;
	}
	public void setProductType(String productType) {
		this.productType = productType;
	}
	public int getPm() {
		return pm;
	}
	public void setPm(int pm) {
		this.pm = pm;
	}
	public Date getReportTime() {
		return reportTime;
	}
	public void setReportTime(Date reportTime) {
		this.reportTime = reportTime;
	}

	public int getTemperature() {
		return temperature;
	}

	public void setTemperature(int temperature) {
		this.temperature = temperature;
	}

	public int getHumidity() {
		return humidity;
	}

	public void setHumidity(int humidity) {
		this.humidity = humidity;
	}
}
